<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:70:"E:\static\tp5\public/../application/index\view\Chat\chat_test_one.html";i:1511148592;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/layui/css/layui.css" /><script type="text/javascript" src="/static/layui/layui.js"></script>
    <style>
        .chat_box_list{margin: 0;padding: 0; background:#fff; width: 100%;height: 100%;}
        .chat_box_list .chat_friend_list{ margin:0;height: 500px;width: 20%;background:#D9D9D9;min-height: 700px; float: left;overflow: auto}
        .chat_box_list .chat_board {height: 100%;width: 80%;background:#F8F8F8;min-height: 700px;overflow-x: hidden; overflow-y: auto ;float: right}
        .chat_box_list .chat_board .chat_board_title{height: 20%;width:100%;background:#F8F8F8;min-height: 60px;min-width: 50%;}
        .chat_box_list .chat_board .chat_board_title .chat_title_header{width: 50%;height: 20%;}
        .chat_box_list .chat_board .chat_board_title .chat_title_avatar{ width: 50px;height: 50px; border-radius: 100% ;margin-left: 30px;}
        .chat_box_list .chat_board .chat_board_title .chat_title_header span{ width: 100px;  padding-left: 10px;  font-size: 16px;  white-space: nowrap;  overflow: hidden;  text-overflow: ellipsis;}
        .chat_box_list .chat_board .chat_board_main{width:100%;height:387px;  background:#FFFFFF;min-height: 387px;min-width: 50%;  padding: 15px 15px 5px;  overflow-x: hidden;  overflow-y: auto;}
        .chat_box_list .chat_board .chat_board_main .chat_accept_message {margin-top: 0;margin-bottom: 10px;list-style: none;}
        .chat_box_list .chat_board .chat_board_main .chat_accept_message li{position: relative;  font-size: 12px;  margin-bottom: 10px;  padding-left: 60px;  min-height: 68px;}
        .chat_box_list .chat_board .chat_board_main .chat_accept_message .chat_mine_talk{text-align: right;  padding-left: 0;  padding-right: 60px;}
        .chat_box_list .chat_board .chat_board_main .chat_accept_message .chat_mine_talk .chat_send_user{left: auto;  right: 3px;}
        .chat_box_list .chat_board .chat_board_main .chat_accept_message .chat_mine_talk .chat_send_user cite {  left: auto;  right: 60px;  text-align: right;  }
        .chat_box_list .chat_board .chat_board_main .chat_accept_message .chat_mine_talk .chat_user_text {margin-left: 0;  text-align: left;  background-color: #5FB878;  color: #fff; }
        .chat_box_list .chat_board .chat_board_main .chat_accept_message .chat_mine_talk .chat_user_text:after{content: '';}

        .chat_box_list .chat_board .chat_board_main .chat_accept_message  .chat_send_user .send_avatar_img{ width: 40px;height: 40px;border-radius: 100%}
        .chat_box_list .chat_board .chat_board_main .chat_accept_message  .chat_send_user {position: absolute;  left: 3px;}
        .chat_box_list .chat_board .chat_board_main .chat_accept_message  .chat_send_user  cite{position: absolute;  left: 60px;  top: -2px;  width: 500px;  line-height: 24px;  font-size: 12px;  white-space: nowrap;  color: #999;  text-align: left;  font-style: normal;}
        .chat_box_list .chat_board .chat_board_main .chat_accept_message  .chat_user_text { position: relative;  line-height: 22px;  margin-top: 25px;  padding: 8px 15px;  background-color: #e2e2e2;  border-radius: 3px;  color: #333;  word-break: break-all;display: inline-block;  vertical-align: top;  font-size: 14px;}

        .chat_box_list .chat_board .chat_board_icon{padding: 0 8px; height:  10%;width:100%;background:#FFFFFF;min-height: 28px;min-width: 50%;border-top: 1px solid #F1F1F1; border-bottom: 1px solid #F1F1F1;}
        .chat_box_list .chat_board .chat_board_icon .chat_board_icon_list{ height: 100%;width: 50%}
        .chat_box_list .chat_board .chat_board_icon .chat_board_icon_list .img_btn i{position: relative;  margin: 0 5px;  display: inline-block;  vertical-align: top;  font-size: 28px;  cursor: pointer; }
        .chat_box_list .chat_board .chat_board_send{height:  30%;width:100%;background:#FFFFFF;min-height: 200px;min-width: 50%;}
        .chat_box_list .chat_friend_list .chat_friend_more{display: block;list-style: none;margin:0;padding: 0;overflow-x: auto;overflow-y: hidden;width: 100%;}
        .chat_box_list .chat_friend_list .chat_friend_more .chat_friend{ position: relative;  margin: 5px;  padding: 5px 30px 5px 5px;  line-height: 40px;  cursor: pointer;  border-radius: 3px;}
        .chat_box_list .chat_friend_list .chat_friend_more .chat_active{ background-color:#F3F3F3; }
        .chat_box_list .chat_friend_list .chat_friend_more .chat_friend .friend_avatar{ width: 40px;height: 40px;border-radius: 100%}
        .chat_box_list .chat_friend_list .chat_friend_more .chat_friend span{    width: 100px;  padding-left: 10px;  font-size: 16px;  white-space: nowrap;  overflow: hidden;  text-overflow: ellipsis;}
        .chat_box_list .chat_board .chat_board_send .chat_message_input{width: 100%;min-height: 160px;}
        .chat_box_list .chat_board .chat_board_send .chat_message_send{width: 100%;min-height: 40px;}
        .chat_box_list .chat_board .chat_board_send .chat_message_send .send_btn { float: right;  height: 32px;  line-height: 32px;  font-size: 0;  cursor: pointer;margin-right: 10px;}
        .chat_box_list .chat_board .chat_board_send .chat_message_send .send_btn span { display: inline-block;  vertical-align: top;  font-size: 14px;  line-height: 32px;  margin-left: 5px;  padding: 0 20px;  background-color: #5FB878;  color: #fff;  border-radius: 3px;}
    </style>
</head>
<body>
<div class="chat_box_list">
    <div class="chat_friend_list">
        <ul class="chat_friend_more">
            <li class="chat_friend chat_active"><img class="friend_avatar" src="/static/images/images.png"/><span>刘权昌</span></li>
            <li class="chat_friend"><img class="friend_avatar" src="/static/images/images.png"/><span>刘小小</span></li>
        </ul>
    </div>
    <div class="chat_board">
        <div class="chat_board_title">
           <div class="chat_title_header"><img class="chat_title_avatar" src="/static/images/images.png">    
           <span>刘权昌</span>
          </div>
        </div>
        <div class="chat_board_main">
            <ul class="chat_accept_message" title="鼠标上下滑动查看消息">
                <li><div class="chat_send_user">
                     <img class="send_avatar_img" src="/static/images/images.png"/><cite>刘小小&nbsp;&nbsp;<i>2017-11-17 16:10:29</i></cite>
                    </div>
                    <div class="chat_user_text">11111111</div>
                </li>
                <li class="chat_mine_talk">
                    <div class="chat_send_user">
                        <img class="send_avatar_img" src="/static/images/images.png"/><cite><i>2017-11-17 16:10:29</i>&nbsp;&nbsp;刘小小</cite>
                    </div>
                    <div class="chat_user_text">11111111</div>
                </li>
            </ul>
        </div>
        <div class="chat_board_icon"><div class="chat_board_icon_list"><span class="img_btn"><i class="layui-icon">&#xe60d;</i></span> <span class="img_btn"><i class="layui-icon">&#xe61d;</i></span></div></div>
        <div class="chat_board_send">
            <div class="chat_message_input">
                  <iframe frameborder="1" src="javascript:;" class="cr_inp" id="editor"></iframe>
            </div>
            <div class="chat_message_send"><div class="send_btn"><span>关闭</span><span>发送</span></div></div>
        </div>
    </div>
</div>
<script>
    $(function(){
        $('.chat_board_main')[0].scrollTop=$('.chat_board_main')[0].scrollHeight;
    });
</script>
</body>
</html>